/**
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-03 14:14:47
 * Copyright (c) 2015- joysuch-版权所有
 */
package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.BpStorageTankAddBean;
import com.joysuch.wwyt.bp.bean.BpStorageTankBean;
import com.joysuch.wwyt.bp.entity.BpStorageTank;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BpStorageTankService {

    String add(BpStorageTankAddBean entity) throws Exception;

    String update(BpStorageTankAddBean entity) throws Exception;

    Page<BpStorageTank> findByPage(Pageable page);

    void delete(Long id);

    BpStorageTankBean findById(Long id);

    BpStorageTank findByUniCode(String uniCode);
}
